<filemove> : Move File(s)

This command moves   file(s).

Syntax:

<filemove>("FileSource", "FileDestination", SubDir, Reserved)

FileSource
Full path to the file to move (e.g., "c:\mydocuments\original.doc").  The file path can contain wildcard characters (*?).  In such the case all the files matching the pattern are moved.
Can be a static text or variable containing text.

FileDestination   
Full path to the new file (e.g., "c:\mydocuments\copy.doc").  If the FileSource contains wildcard characters the FileDestination must specify directory (e.g., "c:\mydocuments") where multiple files are moved.
Can be a static text or variable containing text.

SubDir
Takes effect only if the FileSource contains wildcard characters.  If 1, files from all the sub directories are moved as well (if matching the pattern).  If 0, files from sub directories are not moved.

Reserved
Must be 0.

Example: 

<#> This macro moves file you select to "c:\temp\"  folder
<#>

<cmds>

<var_oper>(vFile,"*.txt",SELECT_FILE,"Select File","", "0")
<if_str>("_vCanceled==1") <exitmacro> <endif>

<filemove>("vFile","c:\temp\",0,0)